<div class="page-header">
	<h4><i class="fa fa-android"></i> 会员统计情况</h4>
</div>
<div class="panel panel-default">
	<div class="panel-body table-responsive">
	<table class="table">
		<thead>
			<tr>
				<th style="width:400px;">公众号</th>
				<th style="width:400px;">会员数量</th>
				<th ></th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>{$uniaccount['name']}</td>
				<td>
					<p>{$uniaccount['membernum']}</p>
				</td>
				<td> 
					<a href="{php echo url('mc/member/display');}">查看</a>
				</td>
			</tr>
		</tbody>
	</table>
	</div>
</div>

<div class="page-header">
	<h4><i class="fa fa-android"></i> 主公号粉丝统计情况</h4>
</div>
<div class="panel panel-default">
	<div class="panel-body table-responsive">
	<table class="table">
		<thead>
			<tr>
				<th style="width:400px;">主公众号</th>
				<th style="width:400px;">粉丝数量</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>{$uniaccount['name']}</td>
				<td>
					<p>{$uniaccount['fansnum']}</p>
				</td>
				<td> 
					<a href="{php echo url('mc/fans/display');}">查看</a>
				</td>
			</tr>
		</tbody>
	</table>
	</div>
</div>
<div class="page-header">
	<h4><i class="fa fa-android"></i> 子公号粉丝统计情况</h4>
</div>
<div class="panel panel-default">
	<div class="panel-body table-responsive">
	<table class="table">
		<thead>
			<tr>
				<th style="width:400px;">子公众号</th>
				<th style="width:400px;">粉丝数量</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			{loop $accounts $acid $acc}
			<tr>
				<td>{$acc['name']}</td>
				<td>
					<p>{$acc['fansnum']}</p>
				</td>
				<td> 
					<a href="{php echo url('mc/fans/display', array('acid'=>$acid));}">查看</a>
				</td>
			</tr>
			{/loop}
		</tbody>
	</table>
	</div>
</div>

<div class="page-header">
	<h4><i class="fa fa-android"></i> 营销统计情况</h4>
</div>
<div class="panel panel-default">
	<div class="panel-body table-responsive">
	<table class="table">
		<thead>
			<tr>
				<th style="width:400px;">营销方式</th>
				<th style="width:400px;"></th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>打折券</td>
				<td>
					{loop $coupons $row}
					<p>{$row['title']}</p>
					{/loop}
				</td>
				<td> 
					{loop $coupons $row}
						<p><a href="{php echo url('activity/coupon/post', array('id'=>$row['couponid']));}">查看</a></p>
					{/loop}
				</td>
			</tr>
		</tbody>
		<tbody>
			<tr>
				<td>代金券</td>
				<td>
					{loop $tokens $row}
					<p>{$row['title']}</p>
					{/loop}
				</td>
				<td> 
					{loop $tokens $row}
						<p><a href="{php echo url('activity/coupon/post', array('id'=>$row['couponid']));}">查看</a></p>
					{/loop}
				</td>
			</tr>
		</tbody>
	</table>
	</div>
</div>
